package com.nutstudy.mybatis.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author: HyoJoo-W
 * @date: 2021-08-28 13:36
 * @description:
 */

@Component
public class UserService
{
    @Autowired
    private UserMapper userMapper;

    @Autowired
    private OrderMapper orderMapper;

    public void test()
    {
        System.out.println(userMapper.select());
        System.out.println(orderMapper.select());
    }
}
